﻿@using ForzaGT3.Data
@model Team
@{
   
}
<div class="well">
    @using (Html.BeginForm(MVC.Admin.Team.Add(), FormMethod.Post, new { @class = "form-horizontal", @enctype = "multipart/form-data" }))
    {
        <fieldset>
            <div id="legend" class="">
                <legend class="">Add Team</legend>
            </div>
            <div class="control-group">
                <!-- Text input-->
                <label class="control-label" for="input01">
                    Name</label>
                <div class="controls">
                    @Html.TextBoxFor(x => x.Name, new { @placeholder = "Name", @class = "input-xlarge" })
                    <p class="help-block">
                        @Html.ValidationMessageFor(x => x.Name)</p>
                </div>
            </div>
            <div class="control-group">
                <!-- Textarea -->
                <label class="control-label">
                    Remarks</label>
                <div class="controls">
                    <div class="textarea">
                        @Html.TextAreaFor(x => x.Remarks)
                    </div>
                </div>
            </div>
            <div class="control-group">
                <!-- Form Actions -->
                <div class="form-actions">
                    <button type="submit" class="btn btn-primary">
                        Save changes</button>
                    <button onclick="javascript:location.href='/Team/Circuit';" type="button"
                        class="btn">
                        Cancel</button>
                </div>
            </div>
        </fieldset>
    }
</div>
